/**
 * Apr 13, 2010
 */
package org.tomale.id.gis.elements;

import org.tomale.id.gis.MapElement;

import com.vividsolutions.jts.geom.Envelope;
import com.vividsolutions.jts.geom.Point;

/**
 * @author ferd
 *
 */
public class LineElement extends MapElement {

	private Point _p1;
	private Point _p2;
	
	public LineElement(final Point point1, final Point point2){
		_p1 = point1;
		_p2 = point2;
	}
	
	public Point getPoint1(){
		return _p1;
	}
	
	public Point getPoint2(){
		return _p2;
	}
	
	/* (non-Javadoc)
	 * @see org.tomale.id.gis.MapElement#getBounds()
	 */
	@Override
	public Envelope getBounds() {
		// TODO Auto-generated method stub
		return null;
	}

}
